lib/pull: Add collection support to ostree_repo_pull_with_options()
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:42:22 +0000 (14:42 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 15:56:07 +0000 (15:56 +0000)
commit7607d94713539e748a89656c9a85cbe04186b281
treea316ac7b72e0e7a4bdc942468d105a0d3d92e9d8
parentfbf8df882964572e3735ef2b6fc9204d78f9502a
lib/pull: Add collection support to ostree_repo_pull_with_options()

This adds a new collection-refs option of type a(sss), giving a list of
(collection ID, ref name, checksum) tuples to pull from the given remote.
This option is intended to supersede the refs and override-commit-ids
options, so is mutually exclusive with them.

This includes support for resolving the refs from the remote’s summary
file, or from its refs/heads and refs/mirrors directories.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
src/libostree/ostree-repo-pull.c